package com.xuebusi.toutiao.admin.api.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 资源实体类
 */
@Data
@TableName("tb_source")
public class SourceEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("url")
    private String url;

    @TableField("type")
    private Integer type;

    @TableField("user_id")
    private Integer userId;

    @TableField("is_active")
    private Boolean isActive;

    @TableField("create_time")
    private Date createTime;
}
